Import('env')
Import('options')
env = env.Copy()

sourceFiles = [
    'intern/avi.c',
    'intern/avirgb.c',
    'intern/codecs.c',
    'intern/endian.c',
    'intern/mjpeg.c',
    'intern/options.c',
    'intern/rgb32.c',
]
env.Append(CPPPATH=['../avi', '#/intern/guardedalloc'])
env.Append(CPPPATH=env['JPEG_INCLUDE'])
env.Library(target='#$BUILD_DIR/lib/blender_avi', source=sourceFiles)
